package com.quwan.manager.service;

import com.quwan.entity.JobLock;
import com.baomidou.mybatisplus.extension.service.IService;
import com.quwan.manager.controller.dto.JobLockDTO;

/**
 * <p>
 * 定时任务锁表 服务类
 * </p>
 *
 * @author quwan
 * @since 2021-11-24
 */
public interface IJobLockService extends IService<JobLock> {
    JobLockDTO getVersion(Byte type);

    int updateVersion(Byte type, Long version);
}
